﻿using ML.Entity;
using System.Collections.Generic;

namespace ML.IRepository
{
    /// <summary>
    /// 收款仓储接口
    /// </summary>
    public interface IReceivablesRepository : IBaseRepository<ReceivablesEntity>
    {
        Pager<ReceivablesEntity> List(ReceivablesSearch ReceivablesSearch);

        IEnumerable<ReceivablesEntity> GetReceivablesByMerchantId(string id);

        bool SetDefaultMarkTrue(string Id, int DefaultMark, string merchanctId);

        bool SetDefaultMarkFalse(string Id, int DefaultMark);
    }
}